home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10156 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  657 b 

  1. Path: news.exodus.net!news
  2. From: Austin Ju <jun@pixera.com>
  3. Newsgroups: comp.lang.c
  4. Subject: variable-lenght argument list
  5. Date: 15 Mar 1996 20:47:20 GMT
  6. Organization: exodus communications, inc.
  7. Message-ID: <4icl0o$b3j@saturn.exodus.net>
  8. NNTP-Posting-Host: jun.pixera.com
  9.  
  10. Hi!
  11. Is there any way we may call a function with varable-length
  12. argument list within another function also with varable-
  13. length argument list, so that the argument list inside is 
  14. just the same as the outside's:
  15.  
  16. e.g.
  17.   void func1(int a, ...); 
  18.   
  19.   void func2(int b, ...) {
  20.  
  21.     .............
  22.     func1(b, ...); // the same argument list as from func2
  23.   }
  24.  
  25. Austin Ju
  26. jun@pixera.com
  27.